package me.zhengjie.repository;

import me.zhengjie.dto.sqlServer.PressMachine;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface PressMachineRepository extends JpaRepository<PressMachine, Integer>, JpaSpecificationExecutor<PressMachine> {

    List<PressMachine> findAll();

    PressMachine findPressMachineById(int id);
}
